package cn.shop.alibaba.feign;

import cn.shop.alibaba.beans.User;
import org.springframework.stereotype.Component;

@Component
public class UserServiceFeignFallBack implements UserServiceFeign{
    @Override
    public User getuser(Long uid) {
        User user = new User();
        user.setId(-1L);
        return user;
    }
}
